.PHONY:all
all:
	cd compile_run_server;\
	make;\
	cd -;\
	cd oj_server;\
	make;\
	cd -;
.PHONY:procedure
procedure:
	mkdir -p procedure/compile_run_server;\
	mkdir -p procedure/oj_server;\
	cd compile_run_server;\
	cp -rf `ls | grep -v ".hpp" | grep -v ".cc" | xargs` ../procedure/compile_run_server;\
	cd -;\
	cd oj_server;\
	cp -rf `ls | grep -v ".hpp" | grep -v ".cc" | xargs` ../procedure/oj_server;\
	cd -;
.PHONY:clean
clean:
	cd compile_run_server;\
	make clean;\
	cd -;\
	cd oj_server;\
	make clean;\
	cd -;\
	rm -rf procedure;